import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useStBrigadeNar = defineStore('brigadeNaryad', () => {

	const raspList = ref([
		{
			label: 'Распределить',
			value: 'st'
		}, {
			label: 'Сменить',
			value: 'st_change_brigade'
		}
	])

	const status = ref('st');

	async function setStatus(newStatus) {
		status.value = newStatus
	}

	return { raspList, status, setStatus }

})